//
//  XKPictureCollectionView.h
//  Selene
//
//  Created by 刘晓凯 on 2017/3/13.
//  Copyright © 2017年 hairun. All rights reserved.
//

#import <UIKit/UIKit.h>

//代理
@protocol XKPictureCollectionViewDelegate <NSObject>
//代理方法
- (void)selectedObject:(id)object dataArray:(NSArray *)dataArray;
@end

@interface XKPictureCollectionView : UICollectionView<UICollectionViewDataSource,UICollectionViewDelegate,UICollectionViewDelegateFlowLayout>

//图片数组
@property (nonatomic, strong) NSMutableArray *imageArray;
//图片视图代理
@property (nonatomic, weak) id<XKPictureCollectionViewDelegate> pictureDelegate;

//实例化方法
- (instancetype)initWithFrame:(CGRect)frame Images:(NSMutableArray *)images;

//刷新数据
- (void)reloadPictureData;

@end
